dict = {'name':'TOM','age':20}
# key

for key in dict.keys():
    print(key)
# value
for value in dict.values():
    print(value)
# item
for item in dict.items():
    print(item)
# item 拆包
for key,value in dict.items():
    print(key,end=',')
    print(value)